<?php
        class aboutus extends template{
           
           function view(){ 
           
              $settemplate="template1/aboutus/".$_GET['shelfid'];
            // echo rootpath.'/templates/'.$settemplate.'/index.php';
             if(is_file(rootpath.'/templates/'.$settemplate.'/index.php'))
             {
             //echo rootpath.'/templates/template1/'.$settemplate.'/index.php';
             $this->loadfile($settemplate,"index.php");
             }
//             
           
           
           }
        
        
        }
?>
